package com.ych.SDK.alibaba.smsSDK.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2020/12/14
 * Time: 15:02
 * Description:
 */
@Component
public class AlibabaSmsConfig {
    public static String region_id;

    @Value("${sdk.alibabaSms.region_id}")
    public void setRegion_id(String region_id) {
        this.region_id = region_id;
    }

    public static String access_key_id;

    @Value("${sdk.alibabaSms.access_key_id}")
    public void setAccess_key_id(String access_key_id) {
        this.access_key_id = access_key_id;
    }

    public static String secret;

    @Value("${sdk.alibabaSms.secret}")
    public void setSecret(String secret) {
        this.secret = secret;
    }

    public static String domain;

    @Value("${sdk.alibabaSms.domain}")
    public void setDomain(String domain) {
        this.domain = domain;
    }

    public static String version;

    @Value("${sdk.alibabaSms.version}")
    public void setVersion(String version) {
        this.version = version;
    }

    public static String sign_name;

    @Value("${sdk.alibabaSms.sign_name}")
    public void setSign_name(String sign_name) {
        this.sign_name = sign_name;
    }

    public static String template_code;

    @Value("${sdk.alibabaSms.template_code}")
    public void setTemplate_code(String template_code) {
        this.template_code = template_code;
    }
}
